package viewbuilder.java;

import java.lang.reflect.Proxy;

/**
 *
 */
public class HtmlBuilderFactory {

    public static HtmlBuilder createBuilder() {
        HtmlBacker handler = new HtmlBacker();
        return (HtmlBuilder) Proxy.newProxyInstance(
                HtmlBuilder.class.getClassLoader(),
                new Class[] {HtmlBuilder.class},
                handler );
    }
}
